home *** CD-ROM | disk | FTP | other *** search
/ 3D Games - Real-time Rend…ng & Software Technology / 3D Games - Real-time Rendering & Software Technology.iso / flysdk / plugin / gamelib / color_particle.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-03-23  |  316 b   |  17 lines

  1. // color_particle implemets a particle with 
  2. // color and transparency
  3. class color_particle : public particle
  4. {    
  5.     public:
  6.  
  7.         vector color;    // the particle color
  8.         int texture;    // texture image
  9.         float size;        
  10.     
  11.     // moves the particle dt ms
  12.     int step(int dt);
  13.  
  14.     // draws the particle
  15.     void draw();
  16. };
  17.